#include "stdio.h"
#include "stdlib.h"

// calculate the mean of two values
double Average(double x, double y)
{
    return (x + y) / 2.0;
}

// the main function
int main()
{
    double x = 5.0, y = 6.0; // declare variables

    // call function
    printf("Average of %f and %f is %f\n", x, y, Average(x, y));

    return 0;
}
